package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.SaveCC;
import com.example.demo.vo.DataView;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface SaveCCService extends IService<SaveCC> {
    DataView receiveVideos(MultipartFile[] videoFiles, HttpServletRequest request) throws IOException;

    DataView receivePictures(MultipartFile[] images, HttpServletRequest request) throws IOException;

    DataView receiveVoice(MultipartFile voiceFile, HttpServletRequest request) throws IOException;

    DataView sendVideo(HttpServletRequest request);

    DataView sendVoice(HttpServletRequest request);

    DataView sendPicture(HttpServletRequest request);

    DataView send(HttpServletRequest request);

    DataView receiveLetter(SaveCC saveCC, HttpServletRequest request);
}
